Skip to content

Conversation

roypat
Copy link
Contributor

@roypat roypat commented Sep 13, 2024

Various small commits that I wrote as parts of various discarded branches, but which have merit on their own. Please see individual commit messages.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this
    PR.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

Seems like it got missed during the big refactor that introduced
`check_output` somehow.

Fixes: acbef3c
Signed-off-by: Patrick Roy <[email protected]>
test_results contains files from failed tests from debugging, but the
directory is created inside of a privileged docker container. Thus after
finishing a test run, fix up the permissions so that it can easily be
dealt with.

Signed-off-by: Patrick Roy <[email protected]>
Remove `assert True` as that's just `pass` with extra steps. Remove `if
bla: assert False` as that's just `assert bla` with extra steps.

Signed-off-by: Patrick Roy <[email protected]>
@roypat roypat added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Sep 13, 2024
Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.32%. Comparing base (7a8148b) to head (11dac33).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4800   +/-   ##
=======================================
  Coverage   84.31%   84.32%           
=======================================
  Files         249      249           
  Lines       27521    27521           
=======================================
+ Hits        23205    23206    +1     
+ Misses       4316     4315    -1     
Flag Coverage Δ
5.10-c5n.metal 84.54% <ø> (+<0.01%) ⬆️
5.10-m5n.metal 84.53% <ø> (+<0.01%) ⬆️
5.10-m6a.metal 83.81% <ø> (+<0.01%) ⬆️
5.10-m6g.metal 80.89% <ø> (ø)
5.10-m6i.metal 84.52% <ø> (+<0.01%) ⬆️
5.10-m7g.metal 80.89% <ø> (ø)
6.1-c5n.metal 84.54% <ø> (?)
6.1-m5n.metal 84.52% <ø> (?)
6.1-m6a.metal 83.81% <ø> (?)
6.1-m6g.metal 80.89% <ø> (?)
6.1-m6i.metal 84.51% <ø> (?)
6.1-m7g.metal 80.89% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roypat roypat merged commit 9104425 into firecracker-microvm:main Sep 13, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Awaiting review Indicates that a pull request is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants